package org.particlethink.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.particlethink.model.Supplier;
import org.particlethink.model.SupplierUser;

import java.util.List;

@Mapper
public interface SupplierUserMapper extends tk.mybatis.mapper.common.Mapper<SupplierUser> {
    List<SupplierUser> selectByIds(List<Integer> supplierUserIDs);


    List<SupplierUser> selectByName(@Param("supplierName") String supplierName);

    void insertOrUpdate(SupplierUser supplierUser);
}
